home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 52
/
Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso
/
Aminet
/
util
/
moni
/
Scout-src.lha
/
netinclude
/
clib
/
ifconfig_protos.h
next >
Wrap
C/C++ Source or Header
|
2002-09-16
|
1KB
|
58 lines
#ifndef CLIB_IFCONFIG_PROTOS_H
#define CLIB_IFCONFIG_PROTOS_H
/*
** $Filename: clib/ifconfig_protos.h $
** $Release$
** $Revision: 1.1.1.1 $
** $Date: 2001/11/26 22:21:15 $
**
** C prototypes for ifconfig.library
**
** Copyright © 1995 AmiTCP/IP Group,
** Network Solutions Development Inc.
** All rights reserved.
*/
#ifndef LIBRARIES_IFCONFIG_H
#include <libraries/ifconfig.h>
#endif
/* ifconfig.library functions */
/*
* Reserve the first entry for possible ARexx interface
*/
LONG Reserved(void);
/*
* Find the interface configuration for interface ifname.
*/
LONG IfConfigFind(const char *ifname, struct ifconfig ** ifcp);
/*
* Free the configuration got from IfConfigFind().
*/
void IfConfigFree(struct ifconfig * config);
/*
* Find all interface configurations matching the filter. filter can be NULL.
*/
LONG IfConfigFindAll(struct List ** ifclist, struct TagItem * filter);
/*
* Free a list of configuration entries returned by IfConfigFindAll().
*/
void IfConfigFreeList(struct List * list);
/*
* Convert ifconfig.library error codes to english language error strings.
*/
const UBYTE * IfConfigStrError(ULONG ioerr, char * buf, ULONG bufsiz);
/*
* Return (english) name of the tag
*/
const struct ifc_confitem * IfConfigGetTagInfo(ULONG tagcode);
#endif /* CLIB_IFCONFIG_PROTOS_H */